#include "Log.hpp"

using namespace LogModule;

int main()
{
    // ENABLE_CONSOLE_LOG();

    // LOG(LogLevel::DEBUG) << "hello world";
    // LOG(LogLevel::DEBUG) << "hello world";
    // LOG(LogLevel::DEBUG) << "hello world";
    // LOG(LogLevel::DEBUG) << "hello world";
    // 一条完整的信息: [2024-08-04 12:27:03] [DEBUG] [202938] [main.cc] [16] + 日志的可变部分(<< "hello world" << 3.14 << a << b;)
    // int a = 1 ,b = 2;
    // LOG(LogLevel::DEBUG) << "hello world" << 3.14 << a << b;

    ENABLE_FILE_LOG();

    LOG(LogLevel::DEBUG) << "hello world";
    LOG(LogLevel::DEBUG) << "hello world";
    LOG(LogLevel::DEBUG) << "hello world";
    LOG(LogLevel::DEBUG) << "hello world";

    return 0;
}